\hypertarget{graphics_8h}{
\section{E:/Ausbildung/Semester3/Kopie von AVR32\_\-Work1/Halos\_\-Development/src/devices/gdi/graphics/inc/graphics.h File Reference}
\label{graphics_8h}\index{E:/Ausbildung/Semester3/Kopie von AVR32\_\-Work1/Halos\_\-Development/src/devices/gdi/graphics/inc/graphics.h@{E:/Ausbildung/Semester3/Kopie von AVR32\_\-Work1/Halos\_\-Development/src/devices/gdi/graphics/inc/graphics.h}}
}
device independent graphic code  


{\tt \#include $<$stdint.h$>$}\par
{\tt \#include \char`\"{}gdi\_\-types.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hypertarget{group__graphic__device_g477dd2821cac07b0dd56d67a72eacaba}{
void \hyperlink{group__graphic__device_g477dd2821cac07b0dd56d67a72eacaba}{initGraph} (void)}
\label{group__graphic__device_g477dd2821cac07b0dd56d67a72eacaba}

\begin{CompactList}\small\item\em initalize graphic \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_gb1d5625d6d64546097d27be58b43a5f9}{setDevice} (char DeviceNo)
\begin{CompactList}\small\item\em switch current device \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_g7551aae0561930d02c9981917c4d9d9b}{gotoXY} (uint16\_\-t x, uint16\_\-t y)
\begin{CompactList}\small\item\em set new cursor position, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_gba6affc39995efe14043eadbf0b43827}{setX} (uint16\_\-t x)
\begin{CompactList}\small\item\em set new x-coordinate for cursor, called from GDI-API \item\end{CompactList}\item 
uint16\_\-t \hyperlink{group__graphic__device_g4bcab06388adcd058a24e1cac1e2e544}{getX} (void)
\begin{CompactList}\small\item\em get x-coordinate of cursor, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_gebdf36b1cfeae90226306544e8b0f546}{setY} (uint16\_\-t y)
\begin{CompactList}\small\item\em set new y-coordinate for cursor, called from GDI-API \item\end{CompactList}\item 
uint16\_\-t \hyperlink{group__graphic__device_g32fe0e72f29aeb9a8285f00cfbe59957}{getY} (void)
\begin{CompactList}\small\item\em get y-coordinate of cursor, called from GDI-API \item\end{CompactList}\item 
uint16\_\-t \hyperlink{group__graphic__device_g6421d0855aedae698f7a483392ffd25c}{getScreenWidth} ()
\begin{CompactList}\small\item\em get current screenwidth, called from GDI-API \item\end{CompactList}\item 
uint16\_\-t \hyperlink{group__graphic__device_g097b85d7f413373b20867a9415cabbed}{getScreenHeight} ()
\begin{CompactList}\small\item\em get current screenheight, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_ga22a0dd9dcea4d5c82fae9be9bf089f0}{setColor} (uint32\_\-t Color)
\begin{CompactList}\small\item\em set new color, called from GDI-API \item\end{CompactList}\item 
uint32\_\-t \hyperlink{group__graphic__device_ga7f56f8fafb90e55a6af7ac7646df124}{getColor} ()
\begin{CompactList}\small\item\em get current color, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_gc8bf090a80d7fe12147b6d87fd1ee83b}{setBackgroundColor} (uint32\_\-t color)
\begin{CompactList}\small\item\em set new backgroundcolor, called from GDI-API \item\end{CompactList}\item 
uint32\_\-t \hyperlink{group__graphic__device_g81bda3c8db3821062fba08e5ecb2d90d}{getBackgroundColor} ()
\begin{CompactList}\small\item\em get current backgroundcolor, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_g3efd6ee7243705cce37b440c68399546}{setFontColor} (uint32\_\-t color)
\begin{CompactList}\small\item\em set font color, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_g3a3cd779058c4bb5b8b03e316f58ed16}{verticalPan} (int16\_\-t yoffset)
\begin{CompactList}\small\item\em scroll framebuffer up or down, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_gb7831d44ca8d752c86a1953b2b898e5f}{putPixel} (uint16\_\-t x1, uint16\_\-t y1)
\begin{CompactList}\small\item\em draw pixel with current color at given position, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_gb5f226f1613f7f70a1e068c5fa2e4b56}{clrPixel} (uint16\_\-t x1, uint16\_\-t y1)
\begin{CompactList}\small\item\em draw pixel with current backgroundcolor at given position, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_gbae4230e0d7bc64a2f8fba6c6175eb87}{line} (uint16\_\-t x1, uint16\_\-t y1, uint16\_\-t x2, uint16\_\-t y2)
\begin{CompactList}\small\item\em draws a line, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_g6d8d01808fb00f5848e16621995a6657}{rectangle} (uint16\_\-t x1, uint16\_\-t y1, uint16\_\-t x2, uint16\_\-t y2)
\begin{CompactList}\small\item\em draws a rectangle, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_g777ea1e70848dcacfa26275e00527aae}{fillRectangle} (uint16\_\-t x1, uint16\_\-t y1, uint16\_\-t x2, uint16\_\-t y2)
\begin{CompactList}\small\item\em draws a filled rectangle, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_gc94c3233de7ff3e87551f5ee9717b1bb}{circle} (uint16\_\-t xCenter, uint16\_\-t yCenter, uint16\_\-t radius)
\begin{CompactList}\small\item\em draws a circle, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_g8bdd86d104cca372768afe13dd8e66b4}{box} (uint16\_\-t x, uint16\_\-t y, uint16\_\-t width, uint16\_\-t height)
\begin{CompactList}\small\item\em draws a box, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_g2aea83565e4b3416a0920d9d6d925ed9}{sprite} (uint8\_\-t $\ast$data, uint16\_\-t height, uint16\_\-t width)
\begin{CompactList}\small\item\em draws a sprite, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_gaea2e351a7efbc2ec4be0f4688593fdb}{sprite2} (\hyperlink{struct__gdi__sprite}{gdi\_\-sprite\_\-t} $\ast$sprite)
\begin{CompactList}\small\item\em draws a sprite, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_ga7267153b94e4ea20df9231fbc208a19}{color\_\-sprite} (\hyperlink{struct__gdi__sprite}{gdi\_\-sprite\_\-t} $\ast$sprite)
\begin{CompactList}\small\item\em draws a 24-bit colored sprite, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_ge1e3f4164ddb7ede972dfd4573c05739}{setLineThickness} (uint8\_\-t thickness)
\begin{CompactList}\small\item\em set line thickness, called from GDI-API \item\end{CompactList}\item 
void \hyperlink{group__graphic__device_g457c68dc52c4aed28ac3b53f7325b00d}{setLineStyle} (\hyperlink{group__hgdi__types_gdfccdb9380d340f00e646a1fd04b79d9}{line\_\-style\_\-t} linestyle)
\begin{CompactList}\small\item\em set linestyle, called from GDI-API \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
device independent graphic code 

\begin{Desc}
\item[Author:]Team Halos \end{Desc}
\begin{Desc}
\item[Version:]0.0.1 \end{Desc}
\begin{Desc}
\item[Date:]2008-2009 \end{Desc}
\begin{Desc}
\item[Note:]Hardware: NGW100, Software: AVR32-GCC \end{Desc}
\begin{Desc}
\item[License: ]LGPLv2.1 \end{Desc}
